home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Tools & Apps / Testing & Debugging / VUAssist 1.0d10 / C++ interface to VUAssist / UVUAssist.h < prev   
Encoding:
C/C++ Source or Header  |  1991-09-10  |  1.8 KB  |  70 lines  |  [TEXT/MPS ]

  1. /*
  2.  *    File:        UVUAssist.h - MacApp 3.0b2PQR compatible version
  3.  *
  4.  *    Contains:    C++ header file for the V.U. Assistance Hook for MacApp applications, which is
  5.  *    implemented in Object Pascal.
  6.  *
  7.  *    Written by:    Jim Schneider and Jeroen Schalk
  8.  *
  9.  *    Copyright:    © 1991 by Apple Computer, Inc., all rights reserved.
  10.  *
  11.  *  Version: 1.0d10
  12.  *
  13.  *    Change History:
  14.  *
  15.  *          9/10/91    JAS            indicate 3.0b2PQR compatibility, change version
  16.  *            8/21/91    JAS            change version number
  17.  *          8/20/91    JAS            remove debugging code
  18.  *            8/19/91    JAS            change case of of GridItemSupport to gridItemSupport
  19.  *           8/16/91 JAS          change header for 3.0b2PQR
  20.  *          8/15/91    JAS          change case of boolean, add GridItemSupport arg to IVUAssist
  21.  *          8/15/91    Jim          add fGridItemSupport as new data member to TVUAssist
  22.  *          8/13/91    Jim          stripped down to essentials, make TVUAssist subclass of TEvtHandler 
  23.  *          1/18/91    Jim          modified Jeroen Schalk's header posted on Virtual User Discussion 
  24.  *
  25.  */
  26.  
  27.  
  28. #ifndef __UVUASSIST__
  29. #define __UVUASSIST__
  30.  
  31. #ifndef __UEVENTHANDLER__
  32. #include <UEventHandler.h>
  33. #endif
  34.  
  35. /* ================================================================== */
  36. /* Class definitions */
  37.     
  38. class TVUAssist : public TEventHandler {
  39.     
  40.     private:
  41.       
  42.         short     fMoleRefNum;
  43.         
  44.         Boolean    fGridItemSupport; 
  45.     
  46.         public:
  47.       
  48.         virtual pascal void IVUAssist(Boolean gridItemSupport);
  49.         
  50.         virtual pascal void OpenMoleDriver(void);
  51.         
  52.         virtual pascal void SuspendMole(void);
  53.         
  54.         virtual pascal void ResumeMole(void);
  55.         
  56.         virtual pascal void SetDebuggerHook(ProcPtr NewHook);
  57.     
  58.         virtual pascal short MoleAssist(short Select, Ptr Input, Ptr Output, short *OutputSize, 
  59.             short IntResult);
  60.         
  61.     };
  62.  
  63.  
  64. /* ================================================================== */
  65. /* Variable definitions */
  66.  
  67. TVUAssist *gVUAssist;
  68.  
  69. #endif // of #ifndef __UVUASSIST__
  70.